#include <boost/lexical_cast.hpp>

#include <boost/cstdint.hpp>

#include <iostream>
#include <string>

int main(int argc, char * argv[])
{
//        using boost::cstdint;
        std::string s("1234576");
        using boost::lexical_cast;
        int a = lexical_cast<int>(s);
        double b = lexical_cast<double>("312.1267800");
        std::cout<<a<<std::endl;
        std::cout<<b<<std::endl;

        return 0;
}
